<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/axios.js"></script>
	</head>
	<body>
		<h1>restful</h1>
		<script>
			let name='关羽'
			let sex='男'
			let url=`http://localhost:9000/ajax/user/${name}/${sex}`
			axios.get(url)
				 .then(function(promise){
					 console.log(promise.data)
				 })
		</script>
	</body>
</html>
